Skip to content

Conversation

@jdcormie
Copy link
Member

@jdcormie jdcormie commented Jan 14, 2026

Will not squash.

Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh. That's annoying for so small a usage. But it all makes sense.

FWIW, we've been moving things to testFixtures over time, since those are never shipped to users (and users have used some of our internal test utilities). So api/src/testFixtures would have been a bit better, but it's not that big of a deal and can be changed later.

URI uri = new URI(target);
nameResolverProvider = nameResolverRegistry.getProviderForScheme(uri.getScheme());
String scheme =
InternalFeatureFlags.getRfc3986UrisEnabled()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To visibility restrict inside Google, we split the modules into two java_libraries: the main code, the Internal* accessors. The Internal* accessors can reference the main code, but that means the other direction isn't possible. We need to put the flag in a non-Internal-prefixed class, then expose that outside the package via the Internal* class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants